<script setup lang="ts">
import DemoBox from '@/components/DemoBox/DemoBox.vue';
import RegisterFormCode from './RegisterForm.vue?raw';
import RegisterForm from './RegisterForm.vue';
import PageLayout from '@/components/PageLayout.vue';
import LoginForm from './LoginForm.vue';
import LoginFormCode from './LoginForm.vue?raw';

const section = ['登录表单', '注册表单'];
</script>

<template>
    <PageLayout :section="section">
        <DemoBox :code="LoginFormCode" title="登录表单">
            <LoginForm />
            <template #description> 登录表单</template>
        </DemoBox>
        <DemoBox :code="RegisterFormCode" title="注册表单">
            <RegisterForm />
            <template #description> 注册表单</template>
        </DemoBox>
    </PageLayout>
</template>

